#include "lisoundthread.h"


LisoundThread::LisoundThread(QObject *parent) : QThread(parent)
{
//    connect (soundListener,SIGNAL(appearSound()),this,SIGNAL(appearManSound()));
}

void LisoundThread::run ()
{
    soundListen=new LiSoundListen();
    soundListen->setControlALL (true);
    connect (soundListen,SIGNAL(appearSound()),this,SIGNAL(appearManSound()));
    connect (soundListen,SIGNAL(appearSound()),this,SLOT(slots1()));
    connect (soundListen,SIGNAL(sampleSoundSize(int)),this,SIGNAL(sampleOver(int)));
    connect (soundListen,SIGNAL(sampleSoundSize(int)),this,SLOT(slots2(int)));
    this->exec ();
}
